package com.imm.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.imm.common.Result;
import com.imm.pojo.Category;

import java.util.List;

public interface ICategoryService extends IService<Category> {
    Result<Page<Category>> pageCategory(int page, int pageSize);

    Result<String> insert(Category category);

    Result<String> delete(Long ids);

    Result<String> updateCategory(Category category);

    Result<List<Category>> listType(Category category);
}
